package com.hevs.samplewebapp.client.bean;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Object to retrieve informations from the JSON for Token
 * @author Lionel Rey
 * @date 26.03.2012
 */
public class TokenJson extends JavaScriptObject{
	
	/**
	 * Constructor of the Token
	 */
	protected TokenJson() {}

	/**
	 * Get the credential level of the user
	 * @return
	 *  the credential level in int format
	 */
	public final native int getCredential() /*-{ return this.credentialLevel; }-*/;

}